<?php 
	$check_session_id = $_SESSION['sess_id'];
	$check_login_type = $_SESSION['sess_type_login'];
	
	if ($check_session_id != "") {
	
		if($check_login_type == "3") {
			$_SESSION['sess_id'];
			$_SESSION['sess_username'];
			$_SESSION['sess_name'];
			$_SESSION['sess_surname'];
			$_SESSION['sess_type_login'];
		
			include 'show_profile_after_login.php';
		} else {
			include 'check_no_login.php';	
		} // check login type = 3
	
	} else {
		include 'check_no_login.php';
	} // check session_id
?>